#define CONFIG_TH_STACK_SIZE	256

/* clock */
#define CONFIG_CLKIN_FREQ		12000000
#define CONFIG_FCLK_FREQ		304000000
#define CONFIG_FCLK_HCLK_RATIO	3
#define CONFIG_HCLK_PCLK_RATIO	2

/* uart */
#define CONFIG_CONSOLE_UART		2
#define CONFIG_DEFAULT_BAUDRATE		115200
#define CONFIG_CONSOLE_REAL_DEVICE_NAME	"uart2"

/* nand */
#define CONFIG_SYS_NAND_PAGE_COUNT      (32)
#define CONFIG_SYS_NAND_BAD_BLOCK_POS   (5)
#define CONFIG_SYS_NAND_PAGE_SIZE       (512)
#define CONFIG_SYS_NAND_BLOCK_SIZE      (16 * 1024)

#define CONFIG_BH_LOAD_ADDR		(CONFIG_SYS_BH_TEXT_BASE)

#define CONFIG_SYS_MAXARGS			8

#define CONFIG_SYS_PRINT_BUFFER_SIZE	256
#define CONFIG_SYS_PROMPT "MBOOT>"

#define CONFIG_SYS_CBSIZE 256

#define CONFIG_SYS_AEABI

#define CONFIG_TIMER_PRESCALERS		{ 19, 19 }
#define CONFIG_TIMER_MUXS			{ 2, 2, 2, 2, 2 }

